
package slerp;

import java.io.Serializable;

abstract class Drawable extends Member implements Serializable {
    protected double x;
    protected double y;
    
    public Drawable() {
        
    }
    
    public Drawable(double x, double y) {
        this.x = x;
        this.y = y;
    }
    
    
    @Override
    void debugPrint() {
        super.debugPrint();
        System.out.print(" with properties: x: " + x + ", y: " + y);
    }
    
    double getX() {
        return x;
    }
    
    double getY() {
        return x;
    }
    
    @Override
    public String toString() {
        return "Drawable object";
    }
    
    abstract void draw();
    
       
}
